package com.carAnalysisAdmin.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.carAnalysisAdmin.system.mapper.UserGoTimeMapper;
import com.carAnalysisAdmin.system.domain.UserGoTime;
import com.carAnalysisAdmin.system.service.IUserGoTimeService;

/**
 * 用户出库排队Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-04-24
 */
@Service
public class UserGoTimeServiceImpl implements IUserGoTimeService 
{
    @Autowired
    private UserGoTimeMapper userGoTimeMapper;

    /**
     * 查询用户出库排队
     * 
     * @param id 用户出库排队主键
     * @return 用户出库排队
     */
    @Override
    public UserGoTime selectUserGoTimeById(Long id)
    {
        return userGoTimeMapper.selectUserGoTimeById(id);
    }

    /**
     * 查询用户出库排队列表
     * 
     * @param userGoTime 用户出库排队
     * @return 用户出库排队
     */
    @Override
    public List<UserGoTime> selectUserGoTimeList(UserGoTime userGoTime)
    {
        return userGoTimeMapper.selectUserGoTimeList(userGoTime);
    }

    /**
     * 新增用户出库排队
     * 
     * @param userGoTime 用户出库排队
     * @return 结果
     */
    @Override
    public int insertUserGoTime(UserGoTime userGoTime)
    {
        return userGoTimeMapper.insertUserGoTime(userGoTime);
    }

    /**
     * 修改用户出库排队
     * 
     * @param userGoTime 用户出库排队
     * @return 结果
     */
    @Override
    public int updateUserGoTime(UserGoTime userGoTime)
    {
        return userGoTimeMapper.updateUserGoTime(userGoTime);
    }

    /**
     * 批量删除用户出库排队
     * 
     * @param ids 需要删除的用户出库排队主键
     * @return 结果
     */
    @Override
    public int deleteUserGoTimeByIds(Long[] ids)
    {
        return userGoTimeMapper.deleteUserGoTimeByIds(ids);
    }

    /**
     * 删除用户出库排队信息
     * 
     * @param id 用户出库排队主键
     * @return 结果
     */
    @Override
    public int deleteUserGoTimeById(Long id)
    {
        return userGoTimeMapper.deleteUserGoTimeById(id);
    }

    @Override
    public List<UserGoTime> selectUserGoTimeListByTime() {
        return userGoTimeMapper.selectUserGoTimeListByTime();
    }
}
